package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.LossStudent;
import cn.wolfcode.crm.domain.PotentialStudent;
import cn.wolfcode.crm.query.StudentQuery;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;


public interface IStudentManagementService {
    List<PotentialStudent> query(Long id);
    void updateState(Long id,String state);
    List<PotentialStudent> queryList(StudentQuery q);

    void insert(PotentialStudent p);

    void update(PotentialStudent student);

    /*List<LossStudent> queryLossList(StudentQuery q);*/

    void auditLoss(Long id);

    void updateLoss(LossStudent s);

    void updateClass(Long id, String newClassName,String state);

    void insertLoss(LossStudent s);

    void reverseState(Long id);

    PageResult getPageResult(StudentQuery q);

    PageResult getLossPageResult(StudentQuery q);

    PotentialStudent getIdByName(String stringCellValue);

}
